<p class="title"><%= 'Download'.t %></p>

<p>
<%= link_to h(@myfile.filename), gen_sec_link(@rel_link) if STATIC_DOWNLOAD == :lighty_modsecdownload %>
<%= if STATIC_DOWNLOAD == :http
  static_link = @myfile.abs_dir
  static_link.slice!(/^.*public/)
  link_to h(@myfile.filename), ( static_link + @myfile.filename)
else
'<br />'
end %>
<br />
<br />
<%= link_to 'Back'.t, :controller => 'folder', :action => 'list', :id => controller.folder_id %>
</p>